//
//  HomeViewCell.m
//  SafPay
//
//  Created by 贺庆博 on 2018/6/19.
//  Copyright © 2018年 ebo. All rights reserved.
//

#import "HomeViewCell.h"

@implementation HomeViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(WalletCoinListModel *)model withStatus:(BOOL)isHide{
    
    [self.iconIv sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kCoinIconUrl,model.icon]]];
    [self.nameLabel setText:model.coin_name];
    if(isHide){
        
            [self.numLabel setText:@"****"];
        
    }else{
        
            [self.numLabel setText:model.coin_num];
    }

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
